(setq dired-dwim-target t)
(put 'dired-find-alternate-file 'disabled nil)
(add-hook 'dired-mode-hook 'auto-revert-mode)
(setq dired-listing-switches "-alh --time-style \"+%Y-%m-%d %H:%M:%S\"")

(eval-after-load "dired"
  '(progn
	 (define-key dired-mode-map (kbd "1") 'dired-find-file)
	 (define-key dired-mode-map (kbd "2") 'dired-up-directory)
	 (define-key dired-mode-map (kbd "i") 'dired-find-file)
	 ))

(provide 'dired-init)
